package com.content.management.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.content.management.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 数据字典目录（主键id能用于业务）
 * </p>
 *
 * @author xinghu
 * @since 2020-04-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dictionary_directory")
@ApiModel(value = "DictionaryDirectory对象", description = "数据字典目录（主键id能用于业务）")
public class DictionaryDirectory extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "数据字典标识符建议4个字符以内")
	@TableField("directory_flag")
	private String directoryFlag;

	@ApiModelProperty(value = "字典目录名称")
	@TableField("directory_name")
	private String directoryName;


}
